package entity;

import java.io.Serializable;

public class User implements Serializable {
    private int id;
    private String username;
    private String userpwd;
    private String email;
    private String addredd;
    private String hobby;

    public User(int id, String username, String userpwd, String email, String addredd, String hobby) {
        this.id = id;
        this.username = username;
        this.userpwd = userpwd;
        this.email = email;
        this.addredd = addredd;
        this.hobby = hobby;
    }

    public User() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserpwd() {
        return userpwd;
    }

    public void setUserpwd(String userpwd) {
        this.userpwd = userpwd;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddredd() {
        return addredd;
    }

    public void setAddredd(String addredd) {
        this.addredd = addredd;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }
}
